<template>
    <div id="app">
        

    <router-view></router-view>

     
    <van-tabbar route v-model="active">
  <van-tabbar-item v-if="!nobar" replace to="/home" icon="home-o">
    首页
  </van-tabbar-item>
 
</van-tabbar>
       
    </div>
</template>

<script>
    export default {
        data: function () {
            return {
                nobar:'',
                urllog:false,
                active: 0,

                showOverlay:false
            }
        },
        watch:{
            $route(to,from){
                this.nobar=to.meta.nobar
               
            }
        },
        created(){
           
            this.nobar=this.$route.meta.nobar
           
        },
        mounted() {
           
        },

        methods: {
            
        },
        destroyed() {
            
        }
    }

</script>
<style lang="scss">
@import "./views/common.scss";
    .car-btn{
        position:absolute;
        bottom:0;
        width:100%;
    }
    .b-orange{
        color:#E6A23C;
    }
    .b-green{
        color:#67C23A;
    }
    .b-red{
        color:red;
    }
    .b-blue{
        color:#409EFF;
    }
  html{
      height:100%;
      overflow: hidden;
  }
  body{
    height:100%;
    overflow: hidden;
  }
  #app{
      height:100%; 
      overflow: auto;
  }
  #app .wrap{
      height:100%;
      overflow: auto;
      box-sizing: border-box;
      padding-bottom:50px;
  }


.btns-wrap{
    font-size:px2rem(10px);
    padding-top:px2rem(20px);
    display:flex;
    justify-content: flex-end;
}
.btns-wrap .item{
    padding:0 px2rem(10px);
    position:relative;
}
.btns-wrap .item:after{
    position:absolute;
    content:'';
    top:50%;
    transform: translateY(-50%);
    right:0;
    width:1px;
    background: #333;
    height:10px;
}

.overlay {
    background-color: rgba(90, 86, 86, 0)!important;
}
.overlaywrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
.overlayloading {
    /* width: 120px;
    height: 120px; */
    margin: 0 auto
  }
</style>